<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
{{assign var="title" value='文章'}}
{{assign var="app" value='listing'}}
{{assign var="table" value='datas'}}
{{assign var="act" value='modify'}}
<title>{{$title}} - {{'admin|admin_site_name'|C|default:'后台管理'}}</title>
{{include file="include/base.html"}}
{{include file="{{$smarty.const.PLUG}}chosen/chosen.html"}}
{{include file="{{$smarty.const.PLUG}}drag/drag.html"}}
{{include file="{{$smarty.const.PLUG}}verify/verify.html"}}
</head>

<body>

	{{include file="include/sidebar.html"}}

	<div class="body_right">
	<div id="content">
	<div class="search">
		<ul class="bread">
			<li>◆ {{$title}}管理 －> {{$result.title|default:'添加'}}</li>
		</ul>
	</div>
			
		<!--内容 S-->
		<form action="index.php?app={{$app}}&act=save" name="form" class="verify" method="post">
		<input type="hidden" name="id" value="{{$result.id}}"/>
		<input type="hidden" name="item" value="{{$item}}"/>
		<table class="table table-bordered tablest modify">
		  <tbody>
			<tr>
				<td>标题：</td>
				<td>
					<input class="input-xlarge" type="text" name="title" maxlength="50" value="{{$result.title}}"> <span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td>图片：</td>
				<td>
					{{form type="img" data=$result.image name='image' item=$item}}
				</td>
			</tr>
			<!-- <tr>
				<td>推荐：</td>
				<td>
			  		{{html_radios name=hot options=array('否','是') checked=$result.hot|default:0}}
				</td>
			</tr> -->
			<tr class="ttitle">
				<td colspan="2"> >> 内容</td>
			</tr>
			<tr>
				<td>内容：</td>
				<td>
					<textarea id='editor1' class="editor" name='content'>{{$result.content|encodeHtml}}</textarea>
					{{form type='img' kind="ueditor" class='editor1' item=$item}}
				</td>
			</tr>
			<tr class="ttitle">
				<td colspan="2"> >> SEO</td>
			</tr>
			<tr>
				<td>SEO标题：</td>
				<td>
					<input type="text" name="params[seo_title]" maxlength="30" value="{{$result.params.seo_title}}"> <span class="red">*</span>
				</td>
			</tr>
			<tr>
				<td>SEO关键字：</td>
				<td>
					<input type="text" maxlength="70" name="params[seo_keywords]" value="{{$result.params.seo_keywords}}"/> <span class="red">*</span> 
					<span class="notice red">多个关键字用英文逗号分隔</span>
				</td>
			</tr>
			<tr>
				<td>SEO描述：</td>
				<td>
					<textarea name="params[seo_description]" maxlength="80" style="width:400px;height:50px;">{{$result.params.seo_description}}</textarea>
					<span class="red">*</span>
				</td>
			</tr>
			
		  </tbody>
		</table>
		<div class="bottom_button">
			<button type="submit" class="btn btn-info"><i class="icon-ok icon-white"></i>确认</button>
		</div>
		</form>
		<!--内容 E-->
</div>
</div>
{{include file="{{$smarty.const.PLUG}}ueditor/ueditor.html"}}
</body>
</html>